package validate

import (
	"gin/common"
	"gin/model"
)

type AddRoleWrapper struct {
	Data model.Role `json:"data" binding:"required"`
}

type UpdateRoleWrapper struct {
	Data model.Role `json:"data" binding:"required"`
}

type SelectRoleQuery struct {
	Param common.QueryParam `json:"param" binding:"required"`
}

type DeleteRoleParam struct {
	Param common.Filter `json:"param" binding:"required"`
}
